package online.cmagic.createType.prototype;

/**
 * @author wangsc
 * @date: 2020年04月12日 16:54
 * @since JDK 1.8
 */
public class Sheep implements Cloneable {

    private String name;

    private String age;

    @Override
    protected Object clone() throws CloneNotSupportedException {
        return super.clone();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public Sheep() {
    }

    @Override
    public String toString() {
        return "Sheep{" +
                "name='" + name + '\'' +
                ", age='" + age + '\'' +
                '}';
    }
}
